package com.bondar.RestLogin.repositories;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.bondar.RestLogin.entities.User;

@Repository
public interface UserRepository extends JpaRepository<User, Long>{

	User findUserByName(String name);

}
